package edu.mju.servicebase.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  自定义 StuException异常
 * @Author:wyp
 * @Date:2020/8/25 15:41
 * AllArgsConstructor:有参构造
 * NoArgsConstructor:无参构造
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StuException extends RuntimeException {
    private Integer code;
    private String message;
}
